import requests
url = "https://fanyi.baidu.com/sug"
a = input("输入你想翻译的内容:")
body = {"kw":a}
res = requests.post(url=url,json=body)
l = len(res.json()["data"])
for i in range(l):
    print(f"第{i+1}个翻译",res.json()["data"][i])